 /*
 * KIMWONSORK@GMAIL.COM
 * COPYRIGHT CRAYONSOFT All rights reserved.
 * 2013오후 8:38:42
 * kws
 */

package com.crayon.account.data;


import com.crayon.sharemenu.R;

import net.fortuna.ical4j.model.Recur;

public enum ERuleTypes {
	
	
	 RRULE_DAILY(R.string.write_rule_daily,0,Recur.DAILY)
	,RRULE_WEEKLY(R.string.write_rule_weekly,1,Recur.WEEKLY)
	,RRULE_MONTHLY(R.string.write_rule_monthly,2,Recur.MONTHLY)
	,RRULE_YEARLY(R.string.write_rule_yealy,3,Recur.YEARLY);
	int nameId;
	int key;
	String recur;
	private ERuleTypes(int nameId,int key,String recur){
		this.nameId = nameId;
		this.key = key;
		this.recur = recur;
	}
	
	public int getKey() {
		return key;
	}
	public void setKey(int key) {
		this.key = key;
	}
	public String getRecur() {
		return recur;
	}
	public void setRecur(String recur) {
		this.recur = recur;
	}

	public int getNameId() {
		return nameId;
	}


}
